package com.asiainfo.complier.editor;

public class JavaKeyWord {

	public enum Types {
		CLASS, KEY_WORD, INTER_FACE
	}

	;

	private Types type;
	private String name;

	/**
	 * @return the type
	 */
	public Types getType() {
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(Types type) {
		this.type = type;

	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	public JavaKeyWord() {
	}

	public JavaKeyWord(String name, Types type) {
		this.name = name;
		this.type = type;

	}

	@Override
	public String toString() {

		return this.name;
	}

}
